package com.example.address.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class LocationAddress {
    private Integer id;
    private String city;
    private String region;
    private String detail;
    private Double longitude;
    private Double latitude;

    public void setPoint(Double longitude, Double latitude) {
        this.longitude = longitude;
        this.latitude = latitude;
    }
}
